name: tests221 run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/bin:/opt/pyenv/bin:/tmp/venv-oKWV/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PYTHONHASHSEED: 645602025 env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PYTHONIOENCODING: utf-8 env USE_ODL_ALT_KARAF_ENV: ./karaf221.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karaf221 env TOX_ENV_NAME: tests221 env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221 env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221 metadata pid: 37042 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/bin/*:launch_tests.sh cmd: ./launch_tests.sh 2.2.1 exit_code: 1 using environment variables from ./karaf221.env pytest -q transportpce_tests/2.2.1/test01_portmapping.py ..........FFFF.....F..F.FFF........ [100%] =================================== FAILURES =================================== _______ TransportPCEPortMappingTesting.test_11_xpdr_portmapping_NETWORK1 _______ self = def test_11_xpdr_portmapping_NETWORK1(self): response = test_utils.get_portmapping_node_attr("XPDR-A1", "mapping", "XPDR1-NETWORK1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:131: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_11_xpdr_portmapping_NETWORK1 ____ TransportPCEPortMappingTesting.test_12_xpdr_portmapping_XPDR2_NETWORK1 ____ self = def test_12_xpdr_portmapping_XPDR2_NETWORK1(self): response = test_utils.get_portmapping_node_attr("XPDR-A1", "mapping", "XPDR1-NETWORK2") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:143: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_12_xpdr_portmapping_XPDR2_NETWORK1 ____ TransportPCEPortMappingTesting.test_13_xpdr_portmapping_XPDR1_CLIENT1 _____ self = def test_13_xpdr_portmapping_XPDR1_CLIENT1(self): response = test_utils.get_portmapping_node_attr("XPDR-A1", "mapping", "XPDR1-CLIENT1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:155: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_13_xpdr_portmapping_XPDR1_CLIENT1 ____ TransportPCEPortMappingTesting.test_14_xpdr_portmapping_XPDR1_CLIENT2 _____ self = def test_14_xpdr_portmapping_XPDR1_CLIENT2(self): response = test_utils.get_portmapping_node_attr("XPDR-A1", "mapping", "XPDR1-CLIENT2") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test01_portmapping.py:168: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_14_xpdr_portmapping_XPDR1_CLIENT2 _________ TransportPCEPortMappingTesting.test_20_spdr_switching_pool_3 _________ self = def test_20_spdr_switching_pool_3(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "switching-pool-lcp", "3") self.assertEqual(response['status_code'], requests.codes.ok) self.assertEqual("blocking", response['switching-pool-lcp'][0]['switching-pool-type']) self.assertEqual(4, len(response['switching-pool-lcp'][0]['non-blocking-list'])) > self.assertIn( {'nbl-number': 83, 'interconnect-bandwidth': 0, 'interconnect-bandwidth-unit': 1000000000, 'lcp-list': ['XPDR3-CLIENT3', 'XPDR3-NETWORK1']}, response['switching-pool-lcp'][0]['non-blocking-list']) E AssertionError: {'nbl-number': 83, 'interconnect-bandwidth': 0, 'interconnect-bandwidth-unit': 1000000000, 'lcp-list': ['XPDR3-CLIENT3', 'XPDR3-NETWORK1']} not found in [{'nbl-number': 81, 'interconnect-bandwidth': 0, 'interconnect-bandwidth-unit': 1000000000, 'lcp-list': ['XPDR3-CLIENT1', 'XPDR3-NETWORK1']}, {'nbl-number': 82, 'interconnect-bandwidth': 0, 'interconnect-bandwidth-unit': 1000000000, 'lcp-list': ['XPDR3-CLIENT2', 'XPDR3-NETWORK1']}, {'nbl-number': 83, 'interconnect-bandwidth': 0, 'interconnect-bandwidth-unit': 1000000000, 'lcp-list': ['XPDR3-NETWORK1', 'XPDR3-CLIENT3']}, {'nbl-number': 84, 'interconnect-bandwidth': 0, 'interconnect-bandwidth-unit': 1000000000, 'lcp-list': ['XPDR3-NETWORK1', 'XPDR3-CLIENT4']}] transportpce_tests/2.2.1/test01_portmapping.py:240: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_20_spdr_switching_pool_3 ____ TransportPCEPortMappingTesting.test_23_spdr_portmapping_XPDR1_NETWORK1 ____ self = def test_23_spdr_portmapping_XPDR1_NETWORK1(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "mapping", "XPDR1-NETWORK1") self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn( {"logical-connection-point": "XPDR1-NETWORK1", "supporting-circuit-pack-name": "CP1-CFP0", "supported-interface-capability": ["org-openroadm-port-types:if-OCH-OTU4-ODU4"], "supporting-port": "CP1-CFP0-P1", "lcp-hash-val": "Swfw02qXGyI=", "port-direction": "bidirectional", "port-admin-state": "InService", "xpdr-type": "mpdr", "port-qual": "xpdr-network", "port-oper-state": "InService"}, response['mapping']) E AssertionError: {'logical-connection-point': 'XPDR1-NETWORK1', 'supporting-circuit-pack-name': 'CP1-CFP0', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH-OTU4-ODU4'], 'supporting-port': 'CP1-CFP0-P1', 'lcp-hash-val': 'Swfw02qXGyI=', 'port-direction': 'bidirectional', 'port-admin-state': 'InService', 'xpdr-type': 'mpdr', 'port-qual': 'xpdr-network', 'port-oper-state': 'InService'} not found in [{'logical-connection-point': 'XPDR1-NETWORK1', 'port-direction': 'bidirectional', 'xpdr-type': 'mpdr', 'supporting-port': 'CP1-CFP0-P1', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH-OTU4-ODU4'], 'port-oper-state': 'InService', 'rate': '100', 'port-admin-state': 'InService', 'lcp-hash-val': 'Swfw02qXGyI=', 'supporting-circuit-pack-name': 'CP1-CFP0', 'port-qual': 'xpdr-network'}] transportpce_tests/2.2.1/test01_portmapping.py:274: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_23_spdr_portmapping_XPDR1_NETWORK1 ____ TransportPCEPortMappingTesting.test_25_spdr_portmapping_XPDR2_NETWORK2 ____ self = def test_25_spdr_portmapping_XPDR2_NETWORK2(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "mapping", "XPDR2-NETWORK2") self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn( {"logical-connection-point": "XPDR2-NETWORK2", "supporting-circuit-pack-name": "CP6-CFP", "supported-interface-capability": ["org-openroadm-port-types:if-OCH-OTU4-ODU4"], "supporting-port": "CP6-CFP-P1", "lcp-hash-val": "exT821pFtOQ=", "port-direction": "bidirectional", "port-admin-state": "InService", "xpdr-type": "switch", "port-qual": "switch-network", "port-oper-state": "InService"}, response['mapping']) E AssertionError: {'logical-connection-point': 'XPDR2-NETWORK2', 'supporting-circuit-pack-name': 'CP6-CFP', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH-OTU4-ODU4'], 'supporting-port': 'CP6-CFP-P1', 'lcp-hash-val': 'exT821pFtOQ=', 'port-direction': 'bidirectional', 'port-admin-state': 'InService', 'xpdr-type': 'switch', 'port-qual': 'switch-network', 'port-oper-state': 'InService'} not found in [{'logical-connection-point': 'XPDR2-NETWORK2', 'port-direction': 'bidirectional', 'xpdr-type': 'switch', 'supporting-port': 'CP6-CFP-P1', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH-OTU4-ODU4'], 'port-oper-state': 'InService', 'rate': '100', 'port-admin-state': 'InService', 'lcp-hash-val': 'exT821pFtOQ=', 'supporting-circuit-pack-name': 'CP6-CFP', 'port-qual': 'switch-network'}] transportpce_tests/2.2.1/test01_portmapping.py:309: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_25_spdr_portmapping_XPDR2_NETWORK2 ____ TransportPCEPortMappingTesting.test_26_spdr_portmapping_XPDR3_CLIENT3 _____ self = def test_26_spdr_portmapping_XPDR3_CLIENT3(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "mapping", "XPDR3-CLIENT3") self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn( {"logical-connection-point": "XPDR3-CLIENT3", "supporting-circuit-pack-name": "CP3-SFP3", "supported-interface-capability": ["org-openroadm-port-types:if-1GE-ODU0"], "supporting-port": "CP3-SFP3-P1", "lcp-hash-val": "AKsQ/HRQdtdN", "port-direction": "bidirectional", "port-admin-state": "InService", "xpdr-type": "mpdr", "port-qual": "xpdr-client", "port-oper-state": "InService"}, response['mapping']) E AssertionError: {'logical-connection-point': 'XPDR3-CLIENT3', 'supporting-circuit-pack-name': 'CP3-SFP3', 'supported-interface-capability': ['org-openroadm-port-types:if-1GE-ODU0'], 'supporting-port': 'CP3-SFP3-P1', 'lcp-hash-val': 'AKsQ/HRQdtdN', 'port-direction': 'bidirectional', 'port-admin-state': 'InService', 'xpdr-type': 'mpdr', 'port-qual': 'xpdr-client', 'port-oper-state': 'InService'} not found in [{'logical-connection-point': 'XPDR3-CLIENT3', 'port-direction': 'bidirectional', 'xpdr-type': 'mpdr', 'supporting-port': 'CP3-SFP3-P1', 'supported-interface-capability': ['org-openroadm-port-types:if-1GE-ODU0'], 'port-oper-state': 'InService', 'rate': '1', 'port-admin-state': 'InService', 'lcp-hash-val': 'AKsQ/HRQdtdN', 'supporting-circuit-pack-name': 'CP3-SFP3', 'port-qual': 'xpdr-client'}] transportpce_tests/2.2.1/test01_portmapping.py:325: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_26_spdr_portmapping_XPDR3_CLIENT3 ____ TransportPCEPortMappingTesting.test_27_spdr_portmapping_XPDR3_NETWORK1 ____ self = def test_27_spdr_portmapping_XPDR3_NETWORK1(self): response = test_utils.get_portmapping_node_attr("SPDR-SA1", "mapping", "XPDR3-NETWORK1") self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn( {"logical-connection-point": "XPDR3-NETWORK1", "supporting-circuit-pack-name": "CP3-CFP0", "supported-interface-capability": ["org-openroadm-port-types:if-OCH-OTU4-ODU4"], "supporting-port": "CP3-CFP0-P1", "lcp-hash-val": "ANnxoi7K8q30", "port-direction": "bidirectional", "port-admin-state": "InService", "xpdr-type": "mpdr", "port-qual": "xpdr-network", "port-oper-state": "InService"}, response['mapping']) E AssertionError: {'logical-connection-point': 'XPDR3-NETWORK1', 'supporting-circuit-pack-name': 'CP3-CFP0', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH-OTU4-ODU4'], 'supporting-port': 'CP3-CFP0-P1', 'lcp-hash-val': 'ANnxoi7K8q30', 'port-direction': 'bidirectional', 'port-admin-state': 'InService', 'xpdr-type': 'mpdr', 'port-qual': 'xpdr-network', 'port-oper-state': 'InService'} not found in [{'logical-connection-point': 'XPDR3-NETWORK1', 'port-direction': 'bidirectional', 'xpdr-type': 'mpdr', 'supporting-port': 'CP3-CFP0-P1', 'supported-interface-capability': ['org-openroadm-port-types:if-OCH-OTU4-ODU4'], 'port-oper-state': 'InService', 'rate': '100', 'port-admin-state': 'InService', 'lcp-hash-val': 'ANnxoi7K8q30', 'supporting-circuit-pack-name': 'CP3-CFP0', 'port-qual': 'xpdr-network'}] transportpce_tests/2.2.1/test01_portmapping.py:341: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_27_spdr_portmapping_XPDR3_NETWORK1 =========================== short test summary info ============================ FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_11_xpdr_portmapping_NETWORK1 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_12_xpdr_portmapping_XPDR2_NETWORK1 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_13_xpdr_portmapping_XPDR1_CLIENT1 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_14_xpdr_portmapping_XPDR1_CLIENT2 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_20_spdr_switching_pool_3 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_23_spdr_portmapping_XPDR1_NETWORK1 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_25_spdr_portmapping_XPDR2_NETWORK2 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_26_spdr_portmapping_XPDR3_CLIENT3 FAILED transportpce_tests/2.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_27_spdr_portmapping_XPDR3_NETWORK1 9 failed, 26 passed in 249.69s (0:04:09)